package StudyCode.summary.mycollection;

import java.util.ArrayList;
import java.util.Iterator;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class AddArrayListToArrayList {
	public static <T> void addArrayListToArrayList(ArrayList<T> array,
	                                               ArrayList<T> arrayList) {
		Iterator<T> it = array.iterator();
		while (it.hasNext()) {
			arrayList.add(it.next());
		}
	}
}
